<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<span>湖北省十堰市</span>
<script>
    //contextmenu   我们可以禁用右键菜单
    document.addEventListener("contextmenu", function(e){
             e.preventDefault();
    })
    //selectstart   我们可以禁用选中文字
      document.addEventListener("selectstart", function(e){
             e.preventDefault();
    })
</script>
</body>
</html>